package login;

import javax.swing.ImageIcon;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;

public class RECorretta extends JFrame{
	JDialog frame;
	 ImagePanell panel= new ImagePanell(new ImageIcon("C:\\Users\\acer\\workspace1\\LaboratorioDiAlgoritmi\\src\\Image\\Immagine.png").getImage());
	public RECorretta(){
		frame=new JDialog();
		frame.setSize(1000,500);
		frame.setVisible(true);
		frame.setLocation(100,150);
		JLabel l=new JLabel("Registrazione effettuata correttamente");
		l.setBounds(300, 100, 400, 30);
		panel.add(l);
		frame.add(panel);
		
	}
    public static void main (String[]args){
    	 RECorretta r=new RECorretta();
    }
}
